package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "添加订单商品")
@Data
public class OrderAddGoodsModule {


    @Schema(description="商品规格id，扫码商品的goodsId和goodsSizeId都是扫码商品id",example="1")
    @NotNull
    private Long goodsSizeId;

    @Schema(description="购买量:个数或重量",example="1.265")
    private BigDecimal number;


}
